package com.backend.system.beans.dictionary;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 字典新增或更新请求体
 *
 * @author backend-manage
 */
@Data
public class DictionaryAddOrUpdateReq implements Serializable {
    @Serial
    private static final long serialVersionUID = -3245983239281470715L;

    /**
     * id
     */
    private Long id;

    /**
     * 父id
     */
    private Long parentId;

    /**
     * 含义
     */
    private String name;

    /**
     * 字典val
     */
    private String dictVal;

    /**
     * 字典key
     */
    private String dictKey;

    /**
     * 权重
     */
    private Integer weight;

    /**
     * 状态（1 启用；0禁用）
     */
    private Integer status;
}
